| Conditions | 1 |
| Total Lines | 4 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | import {MigrationInterface, QueryRunner} from "typeorm"; |
||
| 5 | |||
| 6 | public async up(queryRunner: QueryRunner): Promise<void> { |
||
| 7 | await queryRunner.query(`ALTER TABLE "contact" ADD "contactedById" uuid`); |
||
| 8 | await queryRunner.query(`ALTER TABLE "contact" ADD CONSTRAINT "FK_ffba1fb926fd8e7121345ebeeb8" FOREIGN KEY ("contactedById") REFERENCES "user"("id") ON DELETE SET NULL ON UPDATE NO ACTION`); |
||
| 9 | } |
||
| 17 |